package com.tyfspring.beans.aware;

import com.tyfspring.beans.Aware;
import com.tyfspring.beans.exception.BeansException;
import com.tyfspring.beans.factory.BeanFactory;

/**
 * @Description 实现此接口，既能感知到所属的 BeanFactory
 * @Author shallow
 * @Date 2023/4/11 20:55
 */
public interface BeanFactoryAware extends Aware {

    void setBeanFactory(BeanFactory beanFactory) throws BeansException;
}
